package hhh;

public class hhh {
    public static void main(String[] args) throws Exception{
        StringBuffer buffer =new StringBuffer(30);
        buffer.append("www.yootk.com").insert(0,"沐言科技：");
        System.out.println("【数据删除】"+buffer.delete(0,5));
        System.out.println("【数据替换】"+buffer.replace(0,13,"edu.yootk.com"));
        System.out.println("【数据反转】"+buffer.reverse());
    }


}
